package com.mmd.base.utils;

import com.mmd.core.constant.PatternConstant;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class MobileUtils {

    public static boolean validMobile(String mobile)
    {
        Pattern compile = Pattern.compile(PatternConstant.PHONE);
        Matcher matcher = compile.matcher(mobile);
        return matcher.matches();
    }




}
